package com.github.shiqiyue.app.common.constants;

import java.math.BigDecimal;

/***
 * 静态常量
 * @author wenyao.wu
 * @date 2018/10/15
 */
public class GlobalConstants {

    /***
     * 最上层的pid
     */
    public static final Long TREE_TOP_PID = 0L;

    /***
     * 其他国家的ID
     */
    public static final Long COUNTRY_OTHERS_ID = -1L;

    /***
     * 导出数据-最多多少条
     */
    public static final Integer EXPORT_MAX_RECORD_NUM = 10000;

    /***
     * 导出数据-最多多少条-提示
     */
    public static final String EXPORT_MAX_RECORD_NUM_MSG = "最多导出1W条";


    /***
     * 物流测试客户编号
     */
    public static final String LOGISTICS_NO = "C61063";

    /***
     * ApiSecret
     */
    public static final String LOGISTICS_API = "kZg1bvuZO1U=";


    /***
     * ApiSecret
     */
    public static final String LOGISTICS_URL = "http://oms.api.yunexpress.com";

    /***
     * 物流查询
     */
    public static final String SEACHE_LOGISTICS_URL = "https://www.17track.net/en";

    public static final BigDecimal BIG_DECIMAL_100 = BigDecimal.valueOf(100L);

    /***
     * 货币编码-美元
     */
    public static final String CURRENCYCODE_USD = "USD";

    /***
     * 任务最多重试次数
     */
    public static final Integer MAX_TASK_RETRY_TIMES = 5;


}
